package cwinsor.com.leaf_raking;


import java.io.BufferedReader;
import java.io.FileWriter;
import java.io.FileReader;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.ArrayList;

import java.util.Collections;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Random;


/**
 * @author cwinsor
 *
 */
public class PrsnListSupervisor extends PrsnList  {

	/*
	 * construct one of yourself
	 */
	public PrsnListSupervisor doConstruct() {
		return new PrsnListSupervisor();
	}


	@Override
	public void doPopulateFromFile(
			FileType fT,
			ArrayList<String> theFieldsArrayObject,
			ArrayList<Person> persons) {

		fT.populate(theFieldsArrayObject, persons, true);
	}

	@Override
	public void doApplySchedulePreferencesFromFile(FileType fT,
			ArrayList<String> theFieldsArrayObject, PrsnList personList) {

		fT.applySchedulePrefernceUpdates(theFieldsArrayObject, personList);
	}


	// debug
	String dS = this.getClass().getSimpleName();
	Integer dL = new Integer(1);
}